﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sunlit.Business.Net.Sms
{
    public interface ISmsSender
    {
        /// <summary>
        /// 发送验证码
        /// </summary>
        /// <param name="message"></param>
        void SendSms(SmsMessage message);
        /// <summary>
        /// 发送注册验证码
        /// </summary>
        /// <param name="phoneNumber">手机号</param>
        /// <param name="code">验证码</param>
        void SendRegisterCode(string phoneNumber, string code);
        /// <summary>
        /// 发送重置密码验证码
        /// </summary>
        /// <param name="phoneNumber">手机号</param>
        /// <param name="code">验证码</param>
        void SendResetPasswordCode(string phoneNumber, string code);
        /// <summary>
        /// 发送登录验证码
        /// </summary>
        /// <param name="phoneNumber">手机号</param>
        /// <param name="code">验证码</param>
        void SendLoginCode(string phoneNumber, string code);

    }
}
